package com.ym.b2b.user.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.ym.b2b.user.sqlbean.EmCUser;
import com.zc.commons.base.Page;

public interface EmCUserDAO {

    Long searchPageEmCUserNum(EmCUser emcuser) throws DataAccessException;

    Page<?> searchPageEmCUser(EmCUser emcuser, Page<EmCUser> page) throws DataAccessException;

    void insertEmCUser(EmCUser record) throws DataAccessException;

    int updateEmCUser(EmCUser record) throws DataAccessException;

    int deleteEmCUser(Long userId) throws DataAccessException;

    void updateEmCUserBat(EmCUser emCuser);

    int deleteMultipleEmBNews(String userIdList);

    EmCUser searchEmCUser(EmCUser emCuserinput) throws DataAccessException;

    public List<EmCUser> searchEmCUserList(EmCUser emCUser) throws DataAccessException;

}
